package com.evildog.workspace.life.application.model;

import cn.hutool.core.date.DatePattern;
import com.evildog.workspace.dependencies.mybatis.annotation.QueryCondition;
import com.evildog.workspace.dependencies.mybatis.enums.ComparisonOperatorsEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.cglib.core.Local;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * Diary request body
 * </p>
 *
 * @author evildog
 * @since 2020-08-02
 */
@Data
@Accessors(chain = true)
@ApiModel(value="Diary查询参数/request body")
public class DiaryParam implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标题（系统生成）")
    private String title;

    @ApiModelProperty(value = "日期")
    private LocalDate date;

    @ApiModelProperty(value = "日记内容")
    private String content;

    @ApiModelProperty(value = "心情 1-5")
    private Integer mood;


}
